@echo off

for /f "tokens=1,2 delims==" %%a in (config.ini) do (
	if %%a==dbName set dbName=%%b
	if %%a==dbUser set dbUser=%%b
	if %%a==dumpFileName set dumpFileName=%%b
)
set absolutePath=%~dp0

%absolutePath%\mysqldump.exe -u %dbUser% -f %dbName% > %absolutePath%\%dumpFileName%

echo -------------------------------------
echo INFO: Export to DataBase: '%dbName%'!
echo -------------------------------------

pause